package net.starwifi.duobao.wx;

import com.alibaba.fastjson.JSON;

/**
 * Created by Administrator on 2016/3/14 0014.
 */
public class WXTokenResponse {

    //{"access_token":"ACCESS_TOKEN","expires_in":7200}

    private  String access_token;
    private  Integer expires_in;

    public static WXTokenResponse parseStr(String jsonStr){
       WXTokenResponse response=JSON.parseObject(jsonStr, WXTokenResponse.class);
        return response;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public Integer getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(Integer expires_in) {
        this.expires_in = expires_in;
    }
}
